#!/bin/bash
 
for pid in `ps auwx | grep mplayer | awk '{print $2}'`; do kill -9 $pid; done

